<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<p class="page">
	<a class="b bC" 
		<s:if test="%{page==1}">
		href="javascript:void(0);"
		</s:if>
		<s:else>
		href="<%=path%>?page=<s:property value='%{page-1}'/>"
		</s:else>
		>&lt;</a>
		
	<s:iterator  begin="1" end="%{ totalPage }" status="status">
		<a <s:if test="%{page==#status.count}">class="mBC wC"</s:if><s:else>class="b bC"</s:else> href="<%=path%>?page=<s:property value='#status.count'/>"><s:property value="#status.count"/></a>
		
	</s:iterator>
	<a <s:if test="%{page==totalPage}">
		href="javascript:void(0);"
		</s:if>
		<s:else>
		href="<%=path%>?page=<s:property value='%{page+1}'/>" 
		</s:else>
		class="b bC">&gt;</a>
</p>